﻿<Window x:Class="Asianet.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Asianet Auto Logger" Loaded="Window_Loaded" Name="mainWindow" ResizeMode="CanMinimize" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" WindowStyle="None" AllowsTransparency="True" MouseLeftButtonDown="window_MouseDown" WindowState="Normal" d:DesignHeight="992" d:DesignWidth="1595" SizeToContent="WidthAndHeight" Style="{DynamicResource DarkWindowStyle}">
	<Window.Resources>
		<Storyboard x:Key="OnMouseEnter1"/>
	</Window.Resources>
    <Window.Background>
        <SolidColorBrush />
    </Window.Background>
    <Grid Name="contentGrid" Margin="75.25,41.75,60.25,34.75" Height="487" Width="921">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid Margin="137,68,66,119" x:Name="Bottom" Grid.Column="1">
            <Rectangle Fill="{DynamicResource DarkBackground}" Margin="46,22.5,86,20" x:Name="BottomRect" RenderTransformOrigin="0.501,0.5" Stroke="{Binding Foreground, ElementName=mainWindow}">
                <Rectangle.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform />
                        <SkewTransform AngleX="-30" />
                        <RotateTransform />
                        <TranslateTransform />
                    </TransformGroup>
                </Rectangle.RenderTransform>
            </Rectangle>
            <TextBox BorderBrush="Black" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="23" HorizontalAlignment="Left" Margin="276,72,0,0" x:Name="tbUserName" SelectionBrush="#FF1C1C1D" VerticalAlignment="Top" Width="173" ToolTip="Enter your username here" Visibility="Hidden" Background="#00000000">
                <TextBox.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </TextBox.RenderTransform>
            </TextBox>
            <PasswordBox BorderBrush="Black" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="23" HorizontalAlignment="Left" Margin="277.222,111,0,0" x:Name="passwordBox" SelectionBrush="#FF0D0D0D" UseLayoutRounding="False" VerticalAlignment="Top" Width="175.555" ToolTip="Enter your password here" Visibility="Hidden" Background="#00000000">
                <PasswordBox.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </PasswordBox.RenderTransform>
            </PasswordBox>
            <TextBox BorderBrush="Black" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="23" HorizontalAlignment="Left" Margin="276,150,0,0" x:Name="tbURL" SelectionBrush="#FF1C1C1D" VerticalAlignment="Top" Width="326" ToolTip="Enter the Login URL (Example : https://mwcp-ekm-03.adlkerala.com:8001/ )" Visibility="Hidden" Background="Transparent" AcceptsTab="True">
                <TextBox.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </TextBox.RenderTransform>
            </TextBox>
            <Label Content="Username" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="28" HorizontalAlignment="Left" Margin="186,71,0,0" x:Name="label1" VerticalAlignment="Top" Visibility="Hidden">
                <Label.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </Label.RenderTransform>
            </Label>
            <Label Content="Password" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="23" HorizontalAlignment="Left" Margin="192,108,0,0" x:Name="label2" VerticalAlignment="Top" Width="63" Visibility="Hidden">
                <Label.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </Label.RenderTransform>
            </Label>
            <Label Content="URL" Foreground="{Binding Foreground, ElementName=mainWindow}" Height="23" HorizontalAlignment="Left" Margin="216,148,0,0" x:Name="label3" VerticalAlignment="Top" Width="32" Visibility="Hidden">
                <Label.RenderTransform>
                    <RotateTransform Angle="0" CenterX="0" CenterY="0" />
                </Label.RenderTransform>
            </Label>
            <Grid x:Name="BottomErrorPanel" Height="0" Margin="134.166,24,63.834,0" VerticalAlignment="Top" Background="#D6000000">
                <TextBox x:Name="tbErrorMsg" Margin="76,19,63,18" TextWrapping="Wrap" Text="TextBox" Background="{x:Null}" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="#FFE71919" FontSize="13.333" IsReadOnly="True" IsUndoEnabled="False" IsTabStop="False" RenderTransformOrigin="0.484,0.483" Style="{DynamicResource tbErrorBoxStyle}" />
                <Button Content="▲" HorizontalAlignment="Right" Margin="0,32.416,18.019,35.5" Style="{DynamicResource SliderCloseButtonStyle}" Width="27.981" Foreground="White" x:Name="btnSliderClose" FontWeight="Bold" FontSize="12" RenderTransformOrigin="0.673,0.439" Click="btnSliderClose_Click" />
            </Grid>
            <CheckBox Content="Auto Login Enabled" Height="16" HorizontalAlignment="Left" Margin="177,200,0,0" Name="cbAutoLogin" VerticalAlignment="Top" IsChecked="True" Visibility="Hidden" Foreground="{Binding Foreground, ElementName=mainWindow}" Background="{x:Null}" />
            <CheckBox Content="Debug Mode Enabled" Height="16" HorizontalAlignment="Right" Margin="0,200,267,0" Name="cbDebug" VerticalAlignment="Top" Visibility="Hidden" Width="135" Foreground="{Binding Foreground, ElementName=mainWindow}" Background="{x:Null}" />
        </Grid>
        <Grid Grid.Column="1" Margin="85,68,66,89" x:Name="Top">
            <Rectangle Fill="{DynamicResource DarkBackground}" Margin="84,-15,103,78" x:Name="TopRect" RenderTransformOrigin="0.501,0.5" Stroke="{Binding Foreground, ElementName=mainWindow}">
                <Rectangle.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform />
                        <SkewTransform AngleX="-30" />
                        <RotateTransform />
                        <TranslateTransform />
                    </TransformGroup>
                </Rectangle.RenderTransform>
            </Rectangle>
            <Button BorderBrush="Transparent" Content="Cancel" Foreground="White" Height="48" HorizontalAlignment="Right" Margin="0,0,36.333,59" x:Name="btnCancel" Style="{StaticResource RightButtonStyle}" VerticalAlignment="Bottom" Width="143" Click="btnCancel_Click" ToolTip="  Cancel   " d:LayoutOverrides="VerticalAlignment" Visibility="Hidden">
                <Button.Background>
                    <LinearGradientBrush EndPoint="0.989,0.5" StartPoint="-0.011,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Button.Background>
            </Button>
            <Button BorderBrush="Transparent" Content="Save" Foreground="White" Height="48" HorizontalAlignment="Right" Margin="0,0,6.75,111" x:Name="btnSave" Style="{DynamicResource Right_Save_Button}" VerticalAlignment="Bottom" Width="143" Click="btnSave_Click" ToolTip=" Save   " d:LayoutOverrides="VerticalAlignment" Visibility="Hidden">
                <Button.Background>
                    <LinearGradientBrush EndPoint="0.989,0.5" StartPoint="-0.011,0.5">
                        <GradientStop Color="Black" Offset="0" />
                        <GradientStop Color="White" Offset="1" />
                    </LinearGradientBrush>
                </Button.Background>
            </Button>
            <Button Content="▼" HorizontalAlignment="Right" Height="17.584" Margin="0,4.916,5,0" Style="{DynamicResource MiniButtonStyle}" VerticalAlignment="Top" Width="52.231" Foreground="White" x:Name="btnMini" Click="btnMini_Click" />
            <Button Content="X" HorizontalAlignment="Right" Height="17.584" Style="{DynamicResource title_btnClose_Style}" VerticalAlignment="Top" Width="53.231" Foreground="White" x:Name="btnClose" FontWeight="Bold" Click="btn_Close_Click" FontSize="12" Margin="0,-14.875,-5.25,0" />
            <ProgressBar Height="23" Margin="209,95,162,0" VerticalAlignment="Top" RenderTransformOrigin="0.607,0.083" Name="ShowProgress" IsIndeterminate="False" Orientation="Horizontal" Value="0" IsEnabled="True" Visibility="Hidden" />
            <TextBlock Height="70" HorizontalAlignment="Left" Margin="229,0,0,188" Name="tBlkStatusMsg" Text="" VerticalAlignment="Bottom" FontSize="14" Width="358" TextTrimming="None" TextWrapping="Wrap" Foreground="{Binding Foreground, ElementName=mainWindow}"></TextBlock>
            <Grid Height="65" HorizontalAlignment="Left" Margin="498,182,0,0" x:Name="ConnectionIndicator" VerticalAlignment="Top" Width="77">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="2*" />
                    <ColumnDefinition Width="78*" />
                </Grid.ColumnDefinitions>
                <Rectangle Height="31" HorizontalAlignment="Left" Margin="22,31,0,0" x:Name="rcon1" Stroke="Black" VerticalAlignment="Top" Width="13" Grid.Column="1" StrokeThickness="0.2" />
                <Rectangle Height="44" HorizontalAlignment="Left" Margin="39,18,0,0" x:Name="rcon2" Stroke="Black" VerticalAlignment="Top" Width="13" RenderTransformOrigin="-26.885,-3.333" Grid.Column="1" StrokeThickness="0.2" />
                <Rectangle Height="62" HorizontalAlignment="Left" Margin="58,0,0,0" x:Name="rcon3" Stroke="Black" VerticalAlignment="Top" Width="13" RenderTransformOrigin="-26.423,-1.841" Grid.Column="1" StrokeThickness="0.2" />
                <Rectangle Height="20" HorizontalAlignment="Left" Margin="4,42,0,0" x:Name="rcon0" Stroke="Black" VerticalAlignment="Top" Width="13" RenderTransformOrigin="-24.654,-7.55" Grid.Column="1" StrokeThickness="0.2" />
            </Grid>
        </Grid>
        <Button Content="Settings" Foreground="White" Grid.Column="1" HorizontalAlignment="Left" Margin="67,163,0,0" x:Name="btn_Settings" Style="{DynamicResource SettingsButtonStyle}" Width="140" Height="47" VerticalAlignment="Top" Click="btn_Settings_Click" ToolTip="Goto Settings" SnapsToDevicePixels="True">
            <Button.BorderBrush>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="White" Offset="0.392" />
                    <GradientStop Color="#05000000" Offset="1" />
                </LinearGradientBrush>
            </Button.BorderBrush>
        </Button>
        <Button BorderBrush="White" Content="Login" Foreground="White" Grid.Column="1" Height="47" HorizontalAlignment="Left" Margin="104.25,99.917,0,0" x:Name="btn_Login_Out" Style="{DynamicResource LoginButtonStyle}" VerticalAlignment="Top" Width="115" ToolTip="Goto Home Page" SnapsToDevicePixels="True" Click="btn_LogIn_Out_Click"/>
    </Grid>
</Window>
